package com.zlop.chain;

public abstract class AbstractHandle implements Handle {

	private Handle handle;
	
	public abstract void execute();

	@Override
	public void operaor() {
		execute();
		if(getHandle() != null){
			getHandle().operaor();
		}
	}
	
	public Handle getHandle() {
		return handle;
	}

	public void setHandle(Handle handle) {
		this.handle = handle;
	}
	

}
